﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using FluentNHibernate.Mapping;
using YunBox2.Contracts.FoundationModels;
namespace YunBox2.DAL.Maps
{
    public class CartonBoardMap:SubclassMap<CartonBoard>
    {
        public CartonBoardMap()
        {
            KeyColumn("CardboardId");
            References(x => x.BoardMaterial).Column("BoardMaterialId").ForeignKey("FK_Cardboard__Boardmaterial");
            Map(x => x.Width);
            Table("CartonBoard");
         
        }
    }
}
